top of page
- API -
dofile(reaper.AZ_GetLuaInitPath())
i = {1,2,3}
b = {4,5,6}
e = {i,b}
Msg(e[1])
Msg(e[1][2])
- API Detail-
No preparation required
- SCRIPT -
dofile(reaper.AZ_GetLuaInitPath())
Loading the initial settings for the Lua version of RIGDOCKS
i = {1,2,3}
Save to array (i), which becomes an array by enclosing it in {}
b = {4,5,6}
Save in array (b)
e = {i,b}
Save array (i) and array (b) to array (e)
Msg(e[1])
Output the first item of array (e) to the console
Msg(e[1][2])
Output the second e of array (e) to the console
This time, 2 is output.
- SCRIPT -
Beginner
AZ_{}
Array within an array
bottom of page